package ooday04;


public class StaticDemo {
    public static void main(String[] args) {
        StaticVar s1 = new StaticVar();
        s1.show();
        StaticVar s2 = new StaticVar();
        s2.show();
        StaticVar s3 = new StaticVar();
        s3.show();
        System.out.println(s1.a);
        System.out.println(StaticVar.b);
        System.out.println("---------------------");
        StaticBlock block1 = new StaticBlock();
        StaticBlock block2 = new StaticBlock();
        StaticBlock block3 = new StaticBlock();
        System.out.println(block3.getClass());
        System.out.println("---------------------");
        StaticMethod.test();
        StaticMethod sm = new StaticMethod();
        sm.show();
        System.out.println("---------------------");
        StaticMethod sm1 = new StaticMethod();
        sm1.say();
        System.out.println(StaticMethod.plus(5,9));
    }
}
